<template>
    <div class="order-list">
        <div class="order-item" v-for="item in orderList" :key="item.id">
            <Order :order="item" :type="type"></Order>
        </div>
        
    </div>
</template>

<script>
import Order from './Order.vue';
export default {
    components:{Order},
    props: ['orderList', 'type']
}
</script>

<style scoped>

</style>